package com.domain;

import com.enums.Alignment;
import com.enums.LineEnum;
import com.enums.TextLevEnum;
import com.fonts.ZnHeiFont;
import com.pdf.annotates.CellSize;
import com.pdf.annotates.PdfProperty;
import lombok.Data;

import java.util.Arrays;
import java.util.List;


@Data
public class Student {

    @PdfProperty(value = "标题", lev = TextLevEnum.ONE_LEV, line = LineEnum.DOWN, font = ZnHeiFont.class)
    private String title = "小鱼易购商城比价结果";

    @PdfProperty(value = "二级标题", lev = TextLevEnum.TWO_LEV, font = ZnHeiFont.class)
    private String secondTitle = "滨州沾化B12-1（一期）200MW渔光互补光伏发电项目光伏组件II包";

    @PdfProperty(value = "比价单信息", lev = TextLevEnum.TWO_LEV, alignment = Alignment.LEFT, font = ZnHeiFont.class)
    private String parityInfo = "一、比价单信息";

    @PdfProperty(value = "比价单号", lev = TextLevEnum.THREE_LEV, row = "2", group = "1", font = ZnHeiFont.class)
    @CellSize(size = {"140","350"})
    private String parityNo = "BJ2024091101";

    @PdfProperty(value = "项目名称", lev = TextLevEnum.THREE_LEV, row = "2", group = "1")
    @CellSize(size = {"140","350"})
    private String projectName = "北京项目";

    @PdfProperty(value = "采购商", lev = TextLevEnum.THREE_LEV, row = "2", group = "1")
    @CellSize(size = {"140","350"})
    private String buyerOrgName = "滨州电投有限公司";

    @PdfProperty(value = "发布时间", lev = TextLevEnum.THREE_LEV, row = "2", group = "1")
    @CellSize(size = {"100","390"})
    private String releaseTime = "2024-09-16 17:22:23";

    @PdfProperty(value = "截止时间", lev = TextLevEnum.THREE_LEV, row = "2", group = "1")
    @CellSize(size = {"100","390"})
    private String endTime = "2024-12-16 01:09:33";

    @PdfProperty(value = "供应商邀请数量", lev = TextLevEnum.THREE_LEV, row = "2", group = "1")
    @CellSize(size = {"100","390"})
    private String supplierNum = "34";

    @PdfProperty(value = "报价供应商数量", lev = TextLevEnum.THREE_LEV, row = "2", group = "1")
    @CellSize(size = {"100","390"})
    private String supplierReportNum = "314";

    @PdfProperty(value = "采购内容", lev = TextLevEnum.THREE_LEV, row = "2", group = "1")
    @CellSize(size = {"100","390"})
    private String buyerContent = "滨州有限公司采购项目";

    @PdfProperty(value = "比价情况", lev = TextLevEnum.TWO_LEV, alignment = Alignment.LEFT)
    private String bjInfo = "二、比价情况";

    @PdfProperty(value = "比价情况列表", lev = TextLevEnum.TWO_LEV, alignment = Alignment.LEFT, row = "3", head = {"序号","供应商名称", "总价(元)"})
    private List<BjInfo> bjInfoList = Arrays.asList(
            new BjInfo("1", "北京有限公司", "343.44"),
            new BjInfo("2", "海南有限公司", "8456"),
            new BjInfo("3", "湖北有限公司", "235.90")
    );

    @PdfProperty(value = "报价明细", lev = TextLevEnum.TWO_LEV, alignment = Alignment.LEFT)
    private String priceInfo = "三、报价明细";

    @PdfProperty(value = "报价明细列表",lev = TextLevEnum.TWO_LEV, alignment = Alignment.LEFT, row = "5", head = {"报价商品名称","数量","所报单价(元)","报价时间","总价(元)"})
    private List<ReportPrice> priceInfoList = Arrays.asList(
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice(),
            new ReportPrice()
    );

}
